package com.ruoyi.business.service;

import com.ruoyi.business.domain.FileTransferOut;
import com.ruoyi.business.domain.bo.FileTransferOutBo;
import com.ruoyi.business.domain.vo.FileTransferOutVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 档案转出Service接口
 *
 * @author sal
 * @date 2024-11-25
 */
public interface IFileTransferOutService {

    /**
     * 查询档案转出
     */
    FileTransferOutVo queryById(Long id);

    /**
     * 查询档案转出列表
     */
    TableDataInfo<FileTransferOutVo> queryPageList(FileTransferOutBo bo, PageQuery pageQuery);

    TableDataInfo<FileTransferOutVo> queryPageList1(FileTransferOutBo bo, PageQuery pageQuery);

    /**
     * 查询档案转出列表
     */
    List<FileTransferOutVo> queryList(FileTransferOutBo bo);

    /**
     * 新增档案转出
     */
    FileTransferOut insertByBo(FileTransferOutBo bo);

    /**
     * 修改档案转出
     */
    FileTransferOut updateByBo(FileTransferOutBo bo);

    /**
     * 校验并批量删除档案转出信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
